home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / cups / templates / choose-device.tmpl < prev    next >
Text File  |  2009-10-31  |  2KB  |  53 lines

  1. <DIV CLASS="indent">
  2.  
  3. <H2 CLASS="title">{op=modify-printer?Modify {printer_name}:Add Printer}</H2>
  4.  
  5. {CUPS_GET_DEVICES_DONE?:<P><IMG SRC="/images/wait.gif" WIDTH="16" HEIGHT="16" ALIGN="ABSMIDDLE"
  6. ALT="Busy Indicator"> Looking for printers...</P>}
  7.  
  8. <FORM METHOD="POST" ACTION="/admin">
  9. <INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
  10. {printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
  11.  
  12. <TABLE>
  13. {op=add-printer?:<TR>
  14. <TH CLASS="label">Current Connection:</TH>
  15. <TD><INPUT TYPE="RADIO" NAME="DEVICE_URI" VALUE="{current_device_uri}" CHECKED>
  16. {current_device_uri}</TD>
  17. </TR>}
  18. <TR>
  19. <TH CLASS="label">Local Printers:</TH>
  20. <TD>
  21. {[device_uri]{device_class!network?<INPUT TYPE="RADIO" NAME="DEVICE_URI"
  22. VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
  23. {device_info} {?device_make_and_model!Unknown?({device_make_and_model}):}<BR>
  24. :}}
  25. </TD>
  26. </TR>
  27. <TR>
  28. <TH CLASS="label">Discovered Network Printers:</TH>
  29. <TD>
  30. {[device_uri]{device_class=network?{device_uri~[a-z]+://?<INPUT TYPE="RADIO" NAME="DEVICE_URI"
  31. VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
  32. {device_info} {?device_make_and_model!Unknown?({device_make_and_model}):}<BR>
  33. :}:}}
  34. </TD>
  35. </TR>
  36. <TR>
  37. <TR>
  38. <TH CLASS="label">Other Network Printers:</TH>
  39. <TD>
  40. {[device_uri]{device_class=network?{device_uri~[a-z]+://?:<INPUT TYPE="RADIO" NAME="DEVICE_URI"
  41. VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
  42. {device_info} {?device_make_and_model!Unknown?({device_make_and_model}):}<BR>
  43. }:}}
  44. </TD>
  45. </TR>
  46. <TR>
  47. <TD></TD>
  48. <TD><INPUT TYPE="SUBMIT" VALUE="Continue"></TD>
  49. </TR>
  50. </TABLE>
  51.  
  52. </FORM>
  53. </DIV>